package cn.backpackerxl.easyJDBC.main;

/**
 * @Author: backpackerxl
 * CreateTime: 2022/5/19
 * FileName: Config
 **/
public class Config {
    private String packName;
    private String outName;
    private String outURL;
    private boolean buildType;
    private String description;

    private boolean setDev;

    private boolean setShow;

    private String daoPack;

    public String getPackName() {
        return packName;
    }

    public Config setPackName(String packName) {
        this.packName = packName;
        return this;
    }

    public String getOutName() {
        return outName;
    }

    public Config setOutName(String outName) {
        this.outName = outName;
        return this;
    }

    public boolean isSetShow() {
        return setShow;
    }

    public Config setSetShow(boolean setShow) {
        this.setShow = setShow;
        return this;
    }

    public String getOutURL() {
        return outURL;
    }

    public Config setOutURL(String outURL) {
        this.outURL = outURL;
        return this;
    }

    public String getDaoPack() {
        return daoPack;
    }

    public Config setDaoPack(String daoPack) {
        this.daoPack = daoPack;
        return this;
    }

    public boolean isBuildType() {
        return buildType;
    }

    public Config setBuildType(boolean buildType) {
        this.buildType = buildType;
        return this;
    }

    public boolean isSetDev() {
        return setDev;
    }

    public Config setSetDev(boolean setDev) {
        this.setDev = setDev;
        return this;
    }

    public String getDescription() {
        return description;
    }

    public Config setDescription(String description) {
        this.description = description;
        return this;
    }

    public void create() {
        Generation.build(this);
    }

    public void createService() {
        Generation.buildService(this);
    }
}
